﻿.cR {
    color: #FF5E52;
}
.mob-navshow{
            position:fixed;top:0;right:0;left:0;bottom:0;
        }
body {
    background-color: #eee;
    font-family: 'Microsoft YaHei';
}
.navfixed{
    padding-top:90px;
}
        
.navfixed .CN-header {
    position: fixed;
    top: 0;
    z-index: 9;
    width: 100%;
}

.CN-header, .CN-footer {
    background-color: #fff;
    text-align: center;
}

.CN-header {
    padding: 20px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #EAEAEA;
    box-shadow: rgba(0,0,0,0.1) 0 0 10px;
}

.CN-footer {
    padding: 20px;
    border-top: 1px solid #eaeaea;
    box-shadow: rgba(0,0,0,0.04) 0px 0px 2px;
    margin-top:20px;
}

.CN-MainWrap {
    float: left;
    width: 100%;
}

.CN-MainAside {
    float: left;
    width: 360px;
    margin-left: -360px;
    min-height: 500px;
}

.CN-MainContent {
    margin-right: 380px;
    min-height: 500px;
}
.CN-HeadTitle{
    margin:10px 0;
    border-left:5px solid #FF5E52;
    padding-left:10px;font-size:20px;
}
/*文章列表*/
.CN-ArticleList {
    margin-bottom: 15px;
}

.CN-ArticleList li {
    padding: 20px 20px 20px 255px;
    overflow:hidden;
}

.CN-ArticleList .focus {
    width: 220px;
    float: left;
    margin-left: -235px;
}

.CN-ArticleList .focus img {
    width: 220px;
    height: 150px;
}
 .CN-ArticleList .focus:hover img{
       -webkit-transform:scale(1.1);
       -moz-transform:scale(1.1);
       -ms-transform:scale(1.1);
       transform:scale(1.1);
   }
.CN-ArticleList header {
    margin-bottom: 10px;
}

.CN-ArticleList header h2 {
    font-size: 18px;
    display: inline;
    margin: 0;
}

.CN-ArticleList meta {
    margin-bottom: 10px;
    font-size: 12px;
    color: #999;
}

.CN-ArticleList span {
    font-size: 12px;
    color: #999;
    margin-right: 20px;
}

.CN-ArticleList .noteTag {
    display: inline-block;
    background-color: #45BCF9;
    color: #fff;
    padding: 3px 6px;
    font-size: 12px;
    position: relative;
    margin-right: 6px;
    top: -3px;
}

.CN-ArticleList .noteTag::after {
    display: block;
    content: ' ';
    width: 0;
    height: 0;
    position: absolute;
    right: -5px;
    top: 7px;
    border-width: 5px 0px 5px 7px;
    border-style: dashed;
    border-color: transparent transparent transparent #45BCF9;
}

.CN-ArticleList .note, .CN-Topic .note {
    font-size: 12px;
    color: #999;
    line-height: 20px;
}

.CN-ArticleList .title, .CN-Topic .title {
    font-size: 18px;
    color: #555;
    font-weight: bold;
    transition: color 0.25s;
}

.CN-ArticleList .title:hover, .CN-Topic .title:hover {
    color: #45BCF9;
    text-decoration: none;
}

/*今日话题*/
.CN-Topic {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    margin-bottom: 15px;
}

.CN-Topic h2 {
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    transition: color 0.25s;
    margin-bottom: 10px;
    margin-top: 0;
}


.CN-Banner {
    margin-bottom: 15px;
    text-align:center;
}
.CN-Banner img{
    margin:0 auto;
    border-radius:4px;
}

.lastPublish {
    margin-bottom: 10px;
    overflow: hidden;
}

.lastPublish h3 {
    margin: 0;
    line-height:1.5;
}

.lastPublish .more {
    float: right;
    position: relative;
    top: 6px;
}

/*侧边栏*/
.widget {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    background-color: #fff;
    color: #777;
}

.widget h3 {
    margin: 0;
    font-size: 18px;
    border-bottom: 1px solid #eaeaea;
    background-color: #fbfbfb;
    color: #666;
    padding: 10px 15px;
}

.widget > ul {
    margin: 0;
    padding: 0;
}

.widget > ul > li {
    text-decoration: none;
    list-style: none;
}

.widget > ul > li > a {
    display: block;
    padding: 10px 15px 10px 150px;
    overflow: hidden;
    text-decoration: none;
    color: #888;
    transition: color 0.25s;
}

.widget > ul > li > a .title:hover {
    color: #45BCF9;
}

.widget-article img {
    width: 122px;
    height: 86px;
    float: left;
    margin-left: -135px;
}

.widget-article span {
    margin-right: 10px;
    font-size: 12px;
}

.widget-article a {
    border-bottom: 1px solid #eee;
}

.widget .widget-content {
    padding: 15px;
}

.widget-special:hover {
    border: 1px solid #FF5E52;
}

.widget-special strong {
    background-color: #FF5E52;
    padding: 5px 15px;
    color: #fff;
    display: inline-block;
    margin-left: 15px;
    font-weight: normal;    
}

.widget-tags a {
    color: #999;
    background-color: #f6f6f6;
    font-size: 12px;
    overflow: hidden;
    height: 29px;
    line-height: 29px;
    display: inline-block;
    padding: 0 8px;
    width: 32%;
    text-decoration: none;
    transition: background-color 0.25s;
    margin-right:1%;
}

.widget-tags a:hover {
    color: #fff;
    background-color: #45BCF9;
}

.articleMore {
    display: block;
    background-color: #e6e6e6;
    color: #999;
    text-align: center;
    margin-bottom: 20px;
    line-height: 32px;
    height: 32px;
    text-decoration: none !important;
}

.articleMore:hover {
    background-color: #ddd;
    color: #666;
}

/*菜单*/
.navbar-desc {
    float: left;
    border-left: 2px solid #eaeaea;
    color: #bbb;
    margin-left: 10px;
    text-align: left;
    font-size: 14px;
    padding-left: 10px;
    line-height: 15px;
    height: 30px;
}

.navbar-brand {
    padding: 0;
    max-height: 32px;
    margin:0 auto !important;
}

.navbar {
    margin-bottom: 0;
    min-height: inherit;
}

.navbar-nav {
    margin-top: 5px;
    margin-right: -15px;
}

.navbar-nav > li > a {
    font-size: 18px;
    padding: 0 15px;
    color: #666;
}

.navbar-nav > li:hover > a, .navbar-nav > li > a:focus, .navbar-nav > li.active > a {
    color: #45BCF9;
    background-color: #fff;
}

.navbar-nav > li:hover .subMenu {
    display: block;
}

.navbar-nav > li:hover .caret {
    transition: all 0.25s;
}

.navbar-nav > li:hover .caret {
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.subMenu {
    margin: 0;
    padding: 5px 0;
    border: 1px solid #ddd;
    box-shadow: rgba(0,0,0,0.1) 0 0 10px;
    border-radius: 4px;
    overflow: hidden;
    position: absolute;
    background-color: #fff;
    width: 150px;
    display: none;
}

.subMenu li {
    list-style: none;
    text-align: left;
}

.subMenu li a {
    color: #000;
    font-weight: bold;
    font-size: 12px;
    height: 32px;
    line-height: 32px;
    display: block;
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
}

.subMenu li a:hover {
    color: #45B6F7;
    background-color: #f6f6f6;
    text-decoration: none;
}

.icon-bar{
    background-color:#888;
}
.navbar-toggle{
    margin-left:15px;float:left;padding:0;
}
   .navbar-search{
       padding:10px 20px;
       position:absolute;
       top:-7px;right:0px;
       font-size:20px;
       color:#888;
   }

   /*Detail*/
 .CN-articleContent{
    padding:20px;
    background-color:#fff;
    border-radius:5px;
}
.CN-articleContent .articleHeader {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
}
.CN-articleContent .articleTitle{
    font-size:26px;line-height:36px;
}
.CN-articleContent .aritcleMeta .item{
    font-size:12px;margin-right:20px;color:#999;
}
.CN-articleContent .articleTags {
    text-align: center;
    margin: 30px 0;
}
.CN-articleContent .articleTags a {
    color: #fff;
    font-size: 12px;
    display: inline-block;
    padding: 3px 5px;
    margin-right: 2px;
    background-color: #45B6F7;
}
.CN-articleContent .relates h3 {
    font-size: 20px;
    margin: 0 0 10px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}
.CN-articleContent .relates ul {
    color: #bbb;
    margin-bottom: 30px;
    margin-left: 18px;
    padding: 0;
}
.CN-articleContent .relates ul a {
    color: #777;
    height: 30px;
    line-height: 30px;
    transition: color .25s;
}
.CN-articleContent .relates ul a:hover {
    color: #45B6F7;
}


  .CN-search{
        display:none;
    }
        
        .search-form {
        padding: 25px 20% 10px;
        overflow: hidden;
    }
    .search-input {
        width: 85%;
        float: left;
        height: 50px;
        line-height:50px;
        border: solid 1px #ddd;
        outline:none;
        color:#999;
        padding:0 12px;
        border-radius:2px 0 0 2px;
    }
    .search-input:focus {
        border-color: #45B6F7;
    }
            
  .search-btn {
    width: 15%;
    float: left;
    background-color: #45B6F7;
    border-radius: 0 2px 2px 0;
    border: none;
    color: #fff;
    height: 50px;
    font-size: 18px;
    }

/*自适应*/
@media (max-width: 1024px)
{
    .CN-MainContent{
        margin-right:0;
    }
    .CN-MainAside{
        display:none;
    }
}

@media (max-width: 640px)
{
    body{
        overflow-x:hidden;
    }
    .navfixed{
        padding-top:75px;
    }
    .CN-header{
        padding:15px 0;
        margin-bottom:15px;
    }
    .container{
        padding-left:10px;
        padding-right:10px;
    }
    .CN-ArticleList .noteTag{
        display:none;
    }
    .CN-ArticleList .title{
        min-height:40px;
        display:block;
    }
    .CN-ArticleList li{
        padding:10px 10px 10px 180px;
    }
    .CN-ArticleList .focus
    {
        width:160px;
        margin-left:-170px;
        overflow:hidden;
    }
   .CN-ArticleList .focus img{
       width:160px;
       height:109px;
   }
 
   .CN-ArticleList .note{
       display:none;
   }

   .navbar-header{
       text-align:center;
   }
   .navbar-brand{
       float:none;
       margin:0 auto;
       display:block;
       max-width:140px;
   }
    .navbar-brand>img{
        margin:0 auto;
    }

   .navbar-nav > li > a{
       text-align:left;
       padding:10px;
       border-bottom:1px solid #303C4A;
       margin:0 20px;
       font-size:16px;
       color:#eee;
   }
   .subMenu{
       position:static;border:none;box-shadow:none;width:auto;
       margin:0 20px;display:block;border-radius:0;
       background-color:transparent;
   }
   .subMenu li a{
        padding:10px;height:auto;line-height:normal;
       font-size:16px;font-weight:normal;
       border-bottom:1px solid #303C4A;
       margin-left:20px;
       color:#eee;
   }

   .navbar-wrap{
       position:fixed;
       top:0;left:0;
       width:70%;
       height:100%;
       background-color:#293038;
       overflow-y:auto;
       overflow-x:hidden;
       z-index:999;
       margin-left:-70%;
       transition:all .25s;
   }
     .navbar-wrap.in{
        margin-left:0;
   }
   .navbar-nav > li:hover > a, .navbar-nav > li > a:focus, .navbar-nav > li.active > a{
       background-color:transparent;
   }
   #navbar-mask{
        position:fixed;
       top:0;left:0;
       width:100%;
       height:100%;
       z-index:10;
       background-color:rgba(0,0,0,0.5);
       display:none;
   }

    .search-form {
        padding: 25px 10px 10px;
        overflow: hidden;
    }
}
@media (max-width: 480px)
{
    .CN-ArticleList li{
        padding:10px 10px 10px 120px;
    }
    .CN-ArticleList .focus
    {
        width:100px;
        margin-left:-110px;
    }
   .CN-ArticleList .focus img{
       width:100px;
       height:68px;
   }
   .CN-ArticleList .note{
       display:none;
   }

}
